package com.note.simpleshop.utils;

import java.util.UUID;

public abstract class TokenGenerator
{
	public static final String SALT="adflajsdlkfj";
	/**
	 * 
	 * 生成token
	 */
	public static String generatorToken()
	{
		String token= UUID.randomUUID().toString()+System.currentTimeMillis()+RandomUtil.generate(5)+SALT;
		return MD5.getInstance().getMD5(token);
	}
}